﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityGameFramework.Runtime;

public static class SoundExtention
{
    public static void PlaySound(this SoundComponent soundCom, string soundName)
    {
        string assetName = AssetUtility.GetSoundAsset(soundName);
        soundCom.PlaySound(assetName, "Default");
    }

}
